<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/10/010
 * Time: 17:23
 */

namespace app\Lib\Ioc\AdminAuth;


use app\Lib\Model\AdminAuth\AdminMenu\GetMenuAllList;

class Menu
{
    /**
     * @return false|\PDOStatement|string|\think\Collection
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public function getAllMenu(){
        $model = new GetMenuAllList();
        return $model->run();
    }
}